{extend name='layout/base'}
{block name='title'}roseCake蛋糕官网_24小时蛋糕网上订购_5小时新鲜送达！{/block}
{block name='head'}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/css/index.css">
<script type="text/javascript" src="__PUBLIC__/static/js/index.js"></script>
{/block}

{block name='content'}
<!--******************banner start***************-->
<div id="banner">
    <!-- 图片列表-->
    <img class="ImgList" src="__PUBLIC__/uploads/home/banner01.jpg">
    <img class="ImgList" src="__PUBLIC__/uploads/home/banner02.jpg">
    <img class="ImgList" src="__PUBLIC__/uploads/home/banner03.jpg">
    <img class="ImgList" src="__PUBLIC__/uploads/home/banner04.jpg">
 
    <!--按钮列表-->
    <ul class="button">
        <li class="current"></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>         
</div>
<!--******************banner end***************-->
<!--content start-->
<div class="container-fluid">
    <!--little image start-->
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <ul class="littleImage">
                <li><a href="<?php echo url('index/product.ProductClass/index',['taste' =>4]);?>"><img src="__PUBLIC__/uploads/home/t1.jpg"></a></li>
                <li><a href="<?php echo url('index/product.ProductClass/index',['taste' =>2]);?>"><img src="__PUBLIC__/uploads/home/t2.jpg"></a></li>
                <li><a href="<?php echo url('index/Prompt/index');?>"><img src="__PUBLIC__/uploads/home/t3.jpg"></a></li>
                <li><a href="<?php echo url('index/Prompt/index');?>"><img src="__PUBLIC__/uploads/home/t4.jpg"></a></li>
            </ul>      
        </div>
        <div class="col-md-1"></div>
    </div>
    <!--little image end-->
    <!--titleWord start-->
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <div class="move">
                <div class="titleWord" >
                    <h2>新品<small> / 专区</small></h2>
                </div>
                <a href="<?php echo url('index/product.ProductClass/index',['taste' =>4]);?>"><img src="__PUBLIC__/uploads/home/t5.jpg"></a>
            </div>             
        </div>
        <div class="col-md-1"></div>
    </div>
    <!--titleWord end-->
    <!--新品专区图片 start-->
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <div class="move">
                <ul>
                    {foreach $rows as $row}
                    <li>
                        <a href="<?php echo url('index/product.ProductDetails/index',['goods_id'=>$row['goods_id']]);?>">
                            <img src="<?php echo thumb_url($row['image']);?>">
                            <p class="littleTitle"><?php echo $row['title'];?></p>
                            <p class="littleIntroduce"><?php echo $row['description'];?></p>
                        </a>
                        <a href="#"><span class="round"><?php echo config('set.taste_status')[$row['taste']];?> ></span></a>
                        <a href="#"><span class="round"><?php echo config('set.category_status')[$row['category']];?> ></span></a>
                        <hr>
                        <span class="price">￥<?php echo $row['price'];?></span>
                        <span><a href="<?php echo url('index/Prompt/index');?>" class="addShoppingCart" style="color: white;">加入购物车</a></span>
                    </li>
                    {/foreach}                                       
                </ul>
            </div>             
        </div>
        <div class="col-md-1"></div>
    </div>
    <!--新品专区图片 end--> 

    <!--titleWord start-->
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <div class="move">
                <div class="titleWord" >
                    <h2>人气<small> / 专区</small></h2>
                </div>
                <a href="<?php echo url('index/product.ProductClass/index',['taste' =>2]);?>"><img src="__PUBLIC__/uploads/home/t13.jpg"></a>
            </div>             
        </div>
        <div class="col-md-1"></div>
    </div>
    <!--titleWord end-->
    <!--活动专区图片 start-->
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <div class="move">
                <ul>
                    {foreach $results as $row} 
                    <li>
                        <a href="<?php echo url('index/product.ProductDetails/index',['goods_id'=>$row['goods_id']]);?>">
                            <img src="<?php echo thumb_url($row['image']);?>">
                            <p class="littleTitle"><?php echo $row['title'];?></p>
                            <p class="littleIntroduce"><?php echo $row['description'];?></p>
                        </a>
                        <a href="#"><span class="round"><?php echo config('set.taste_status')[$row['taste']];?> ></span></a>
                        <a href="#"><span class="round"><?php echo config('set.category_status')[$row['category']];?> ></span></a>
                        <hr>
                        <span class="price">￥<?php echo $row['price'];?></span>
                        <span><a href="<?php echo url('index/Prompt/index');?>" class="addShoppingCart" style="color: white;">加入购物车</a></span>
                    </li>
                    {/foreach} 
                                                           
                </ul>
            </div>             
        </div>
        <div class="col-md-1"></div>
    </div>
    <!--活动专区图片 end--> 

    <!--titleWord start-->
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <div class="move">
                <div class="titleWord" >
                    <h2>活动门<small> / 是被吸引了吧</small></h2>
                </div>
                <div class="bottomImg">
                    <a href="<?php echo url('index/Prompt/index');?>"><img src="__PUBLIC__/uploads/home/t20.jpg" class="img-rounded"></a>
                    <a href="<?php echo url('index/Prompt/index');?>"><img src="__PUBLIC__/uploads/home/t21.jpg" class="img-rounded"></a>                    
                </div>
            </div>             
        </div>
        <div class="col-md-1"></div>
    </div>
    <!--titleWord end-->

    <!--titleWord start-->
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <div class="move">
                <div class="titleWord" >
                    <h2>RoseCake
                        <small> / 文章</small>
                        <a href="<?php echo url('index/Prompt/index');?>" style="margin-left: 800px; font-size: 14px; color: rgb(213,191,167);text-decoration: none;">查看更多>></a>
                    </h2>
                </div>
                <div class="bottomArticleImg">
                    <a href="<?php echo url('index/Prompt/index');?>" class="article">
                        <img src="__PUBLIC__/uploads/home/t22.jpg" class="img-rounded">
                        <h3>一月刊.姜</h3>
                        <span>阅读全文>></span>
                    </a>
                    <a href="<?php echo url('index/Prompt/index');?>" class="article">
                        <img src="__PUBLIC__/uploads/home/t23.jpg" class="img-rounded">
                        <h3>十二月刊.松子</h3>
                        <span>阅读全文>></span>
                    </a>                   
                </div>
            </div>             
        </div>
        <div class="col-md-1"></div>
    </div>
    <!--titleWord end-->    


</div>
<!--content end-->
{/block}